"""
@author:menglei
@desc:图片上传到图片空间
"""
from pdd.api.base import RestApi


class PddGoodsFilespaceImageUploadRequest(RestApi):
    """
    @:param: file:FILE:图片文件流
    """
    def __init__(self,domain='https://gw-api.pinduoduo.com'):
        RestApi.__init__(self, domain)
        self.file = None

    def getapiname(self):
        return 'pdd.goods.filespace.image.upload'